
<style type="text/css">
<!--
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
-->
</style>

	<br />
<h2>
  <div align="center">Registered Property Details</div></h2>

<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
  <tr>
    <th width="2%" align="center" valign="middle" class="block-title" scope="col"><div align="left">Slno</div></th>
    <th width="4%" align="center" valign="middle" class="block-title" scope="col"><div align="left">Prop ID</div></th>
    <th width="8%" align="center" valign="middle" class="block-title" scope="col"><div align="left">Titile</div></th>
    <th width="19%" align="center" valign="middle" class="block-title" scope="col"><div align="left">Expected Price </div></th>
    <th width="8%" align="center" valign="middle" class="block-title" scope="col"><div align="left">Username</div></th>
    <th width="19%" align="center" valign="middle" class="block-title" scope="col"><div align="left">Name</div></th>
    <th width="5%" align="center" valign="middle" class="block-title" scope="col"><div align="center">View<br />  
      Details </div></th>
    <th width="6%" align="center" valign="middle" class="block-title" scope="col"><div align="center">Edit<br /> 
      Details </div></th>
    <th width="5%" align="center" valign="middle" class="block-title" scope="col"><div align="center">Edit<br /> 
      Image </div></th>
    <th width="6%" align="center" valign="middle" class="block-title" scope="col"><div align="center">Add More<br /> 
      Image </div></th>
    <th width="18%" align="center" valign="middle" class="block-title" scope="col"><div align="center">Delete</div></th>
    </tr>
<?php
		$count=0;	
	 $arrMenu=Model_sellproperty::get_sellproperty_list();
	foreach($arrMenu as $objMenu){ 
		$count++;
		$slno=$objMenu->getslno(); 
		$userid=$objMenu->getuserid(); 
		$propid=$objMenu->getPropid(); 
		$location=$objMenu->getProplocation(); 
		$proptype=$objMenu->getProptype();
		$bedrooms=$objMenu->getBedrooms(); 
		$bathrooms=$objMenu->getBathrooms(); 
		$district=$objMenu->getPropdistrict(); 
		$expectedprice=$objMenu->getProplocation(); 
		$proptitile=$objMenu->getProptitile(); 
		$city=$objMenu->getDistcity();
		$propsize=$objMenu->getPropsize();
		$propsizeunit=$objMenu->getPropsizeunit();
		$expectedprice=$objMenu->getPlotsize();
		$expectedprice=$objMenu->getPlotsizeunit();
		$expectedprice=$objMenu->getBuiltyear();
		$expectedprice=$objMenu->getExpectedprice(); 
		$priceunit=$objMenu->getExpectedpriceunit();
		$negotiable=$objMenu->getnegotiable();
		$airport=$objMenu->getDistairport();
		
	$arrMenu=Model_fixedcode::get_Fixedcode_desc($proptype);
	foreach($arrMenu as $objMenu){ 
		$descproptype=$objMenu->getCodedesc(); 

	}	
	$arrMenu=Model_fixedcode::get_Fixedcode_desc($district);
	foreach($arrMenu as $objMenu){ 
		$district=$objMenu->getCodedesc(); 

	}	
	$arrMenu=Model_fixedcode::get_Fixedcode_desc($district);
	foreach($arrMenu as $objMenu){ 
		$district=$objMenu->getCodedesc(); 

	}	
	$arrMenu=Model_membermaster::get_member_details($userid);
	foreach($arrMenu as $objMenu){ 
		$username=$objMenu->getUsername();
		$name=$objMenu->getFirstname(); 

	}		
	


?>	  
  <tr>
    <th scope="col"><div align="left"><?Php echo $count ?></div></th>
    <th scope="col"><div align="left"><?Php echo $propid ?></div></th>
    <th scope="col"><div align="left"><?Php echo $proptitile ?></div></th>
    <th scope="col"><div align="left">Rs. <?Php echo $expectedprice ?> &nbsp;<?Php echo $priceunit ?></div></th>
    <th scope="col"><div align="left"><?Php echo $username ?></div></th>
    <th scope="col"><div align="left"><?Php echo $name ?></div></th>
    <th scope="col"><div align="center"><a href="property_detail.php?propid=<?php echo $propid ?>" target="_parent">View</a></div></th>
    <th scope="col"><div align="center"><a href="edit_sellproperty_reg.php?propid=<?php echo $propid ?>" target="_parent"><img src="../img/edit.png" width="16" height="16" border="0" /></a></div></th>
    <th scope="col"><div align="center"><a href="login_true.php?VL=editimagelist&propid=<?PHP  echo $propid ?>" target="_parent"><img src="../img/edit.png" width="16" height="16" border="0" /></a></div></th>
    <th scope="col"><div align="center"><a href="login_true.php?VL=addmoreimage&propid=<?PHP  echo $propid ?>" target="_parent"><img src="../img/add more image.jpg" width="25" height="17" /></a></div></th>
    <th scope="col"><div align="center"><img src="../img/delete.jpg" width="18" height="18" /></div></th>
    </tr>
<?Php
	}

?>  
</table>


